package com.ihrm.company.service;

import com.ihrm.common.entity.Result;
import com.ihrm.domain.company.Department;
import com.ihrm.domain.company.DeptListResult;

public interface DepartmentService {
    Integer addDept(Department department);

    Integer update(Department department);

    Department select(String id);

    Integer delete(String id);

    DeptListResult findAll(String companyId);

    Department findByCondition(String code);
}
